package org.tea.inventory.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.tea.inventory.base.validation.groups.CreateGroup;
import org.tea.inventory.base.validation.groups.UpdateGroup;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 表彰表
 */
@ApiModel(value = "表彰人")
@Data
@NoArgsConstructor
public class MallCommendParticipantDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "表彰子表id不能为空", groups = {UpdateGroup.class})
    private Long id;
    @NotNull(message = "表彰人不能为空", groups = {CreateGroup.class})
    @ApiModelProperty(value = "表彰人")
    private String loginId;
    /**
     * 表彰id
     */
    @ApiModelProperty(value = "表彰id")
    @NotNull(message = "表彰id不能为空", groups = {CreateGroup.class})
    private Long commendId;


//    /**
//    * 状态 -1:删除, 0:关闭, 1:开启
//    */
//    @ApiModelProperty(value="状态 -1:删除, 0:关闭, 1:开启")
//    private Integer status;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;
}